;; SPDX-License-Identifier: GPL-3.0-or-later
;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
(hall-description
  (name "guile-hurd")
  (prefix "")
  (version "0.1")
  (author "Maxime Devos")
  (copyright (2021))
  (synopsis "Hurd Guile Scheme bindings & translator library")
  (description "Guile-Hurd is a library of Scheme bindings
to Mach and the Hurd's various RPCs, based upon Flavio Cruz'
Common Lisp bindings.  It can be used to define translators
in Guile Scheme.")
  (home-page "https://notabug.org/mdevos/guile-hurd")
  ;; will probably be gpl3+, but let's wait on
  ;; Flavio Cruz' response first.
  (license gpl3)
  ;; TODO: guile-reader: for parsing elisp source code
  (dependencies
    `(("guile-reader" (system reader) ,guile-reader)))
  (files (libraries
           ((scheme-file "cffi")
            (directory "hurd" ((scheme-file "ports")))
            (scheme-file "hurd-cl-compat")
            (scheme-file "mach")))
         (tests ((directory "tests" ())))
         (programs ())
         (documentation
           ((org-file "README")
            (symlink "README" "README.org")
            (text-file "COPYING")
            (directory "doc" ((texi-file "scheme-hurd")))
            (text-file "NEWS")
            (text-file "AUTHORS")
            (text-file "ChangeLog")))
         (infrastructure
           ((scheme-file "guix")
            (text-file ".gitignore")
            (scheme-file "hall")
            (directory
              "build-aux"
              ((tex-file "texinfo")
               (text-file "missing")
               (text-file "install-sh")
               (scheme-file "test-driver")))
            (autoconf-file "configure")
            (automake-file "Makefile")
            (in-file "pre-inst-env")))))
